Authentication-Service Constants
The AuthnSvc
argument represents the authentication service supplied to the RpcBindingInqAuthInfo
and RpcBindingSetAuthInfo run-time functions.
The following
constants represent valid values for the AuthnSvc argument:
Constant |
Value |
Service |
RPC_C_AUTHN_DCE_PRIVATE |
1 |
DCE private
key authentication |
RPC_C_AUTHN_DCE_PUBLIC |
2 |
DCE public
key authentication (reserved for future use) |
RPC_C_AUTHN_DEC_PUBLIC |
4 |
DEC public
key authentication (reserved for future use) |
RPC_C_AUTHN_DEFAULT |
0xffffffff |
Default
authentication service |
RPC_C_AUTHN_NONE |
0 |
No
authentication |
RPC_C_AUTHN_WINNT |
10 |
NTLMSSP (NT
LAN Manager Security Support Provider) |
Specify
RPC_C_AUTHN_NONE to turn off authentication for remote procedure calls made
using the binding handle.
When you
specify RPC_C_AUTHN_DEFAULT, the RPC run-time library uses the
RPC_C_AUTHN_DCE_PRIVATE authentication service for remote procedure calls made
using the binding handle.
See Also